package com.joker.demo.core.config;


import java.io.Serializable;

/**
 * @author : feixiang.li
 * @since : 2025-07-26 18:59
 */
public class JobSchedulerProperties implements Serializable {


    /**
     * 任务执行器端口
     */
    private Integer port = 9999;

    /**
     * boss线程数
     */
    private Integer bossThreads;

    /**
     * worker线程数
     */
    private Integer workerThreads;


    public Integer getWorkerThreads() {
        return workerThreads;
    }

    public void setWorkerThreads(Integer workerThreads) {
        this.workerThreads = workerThreads;
    }

    public Integer getBossThreads() {
        return bossThreads;
    }

    public void setBossThreads(Integer bossThreads) {
        this.bossThreads = bossThreads;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "JobSchedulerProperties{" +
                "port=" + port +
                ", bossThreads=" + bossThreads +
                ", workerThreads=" + workerThreads +
                '}';
    }

}
